SkyVerge\WooCommerce\Facebook\Handlers\Connection D

Total Complexity 130
Dependencies 8
Dependents 2
Total lines 1,394
Lines of code 537
Logical lines of code 289
Comment lines 523
Methods 49
Properties 3

Methods 49

Method Rating Maintainability Complexity Lines of code
fbe_install_webhook()
C
33 25 97
handle_connect()
B
42 17 47
refresh_business_configuration()
A
50 9 26
update_installation_data()
A
51 8 27
retrieve_page_access_token()
S
51 5 26
handle_fbe_redirect()
S
51 5 25
refresh_installation_data()
S
58 5 16
get_connect_parameters_extras()
S
50 3 30
get_external_business_id()
S
57 4 15
handle_disconnect()
S
56 3 17
get_connect_parameters()
S
56 2 18
get_business_name()
S
65 3 8
get_commerce_connect_url()
S
57 1 18
extras_callback()
S
68 2 7
get_timezone_string()
S
66 2 8
update_page_access_token()
S
78 2 3
has_previously_connected_fbe_1()
S
76 2 4
disconnect()
S
61 1 13
init_extras_endpoint()
S
62 1 13
get_redirect_url()
S
62 1 12
get_scopes()
S
64 1 11
is_connected()
S
80 1 3
update_merchant_access_token()
S
80 1 3
update_access_token()
S
80 1 3
has_previously_connected_fbe_2()
S
79 1 3
update_commerce_merchant_settings_id()
S
80 1 3
update_commerce_manager_id()
S
80 1 3
get_client_id()
S
79 1 3
get_plugin()
S
82 1 3
extras_permission_callback()
S
80 1 3
update_instagram_business_id()
S
80 1 3
__construct()
S
63 1 10
update_system_user_id()
S
80 1 3
get_business_manager_id()
S
79 1 3
get_access_token()
S
74 1 4
get_merchant_access_token()
S
74 1 4
get_page_access_token()
S
74 1 4
get_connect_url()
S
78 1 3
get_manage_url()
S
72 1 5
get_disconnect_url()
S
78 1 3
get_ad_account_id()
S
79 1 3
update_ad_account_id()
S
80 1 3
get_system_user_id()
S
79 1 3
get_commerce_manager_id()
S
79 1 3
get_instagram_business_id()
S
79 1 3
get_commerce_merchant_settings_id()
S
79 1 3
get_app_store_login_url()
S
79 1 3
update_business_manager_id()
S
80 1 3
get_proxy_url()
S
79 1 3